package com.think.service.test;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class DubooServiceProvider {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:duboo-provider.xml");
		context.start();
		
		synchronized (DubooServiceProvider.class) {
			while (true) {
				try {
					DubooServiceProvider.class.wait();
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
			}
		}
	}
}
